package com.news.contant;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Contant {
	public static int columnId = 1;
	public static String contentCode = "GBK";

	// ********新浪RSS***************
	// public static String[] columnName = { "新闻要闻", "国内要闻","体育要闻汇总" };
	// public static String[] columnURL = {
	// "http://rss.sina.com.cn/news/marquee/ddt.xml",
	// "http://rss.sina.com.cn/news/china/focus15.xml",
	// "http://rss.sina.com.cn/roll/sports/hot_roll.xml"};

	// ********凤凰RSS***************
	// public static String[] columnName = { "综合资讯", "大陆新闻", "台湾新闻", "国际新闻",
	// "社会新闻", "军事频道","体育频道","评论频道","历史频道"};
	// public static String[] columnURL = {
	// "http://news.ifeng.com/rss/index.xml",
	// "http://news.ifeng.com/rss/mainland.xml",
	// "http://news.ifeng.com/rss/taiwan.xml",
	// "http://news.ifeng.com/rss/world.xml",
	// "http://news.ifeng.com/rss/society.xml",
	// "http://news.ifeng.com/mil/rss/index.xml" ,
	// "http://news.ifeng.com/sports/rss/index.xml",
	// "http://news.ifeng.com/opinion/rss/index.xml",
	// "http://news.ifeng.com/history/rss/index.xml",
	// };
	// ********RSS***************
	public static String[] columnName = { "新闻中心", "国内要闻", "国际新闻", "社会新闻", "军事新闻",
			"体育新闻", "IT新闻", "数码", "手机", "电脑频道","娱乐新闻",
			"财经热点", "旅游新闻", "星座频道", "中国足球", "国际足球", "NBA",
			"CBA"
			};
	public static String[] columnURL = {
		"http://news.sohu.com/rss/scroll.xml",
			"http://rss.news.sohu.com/rss/guonei.xml",// 国内要闻
			"http://rss.news.sohu.com/rss/guoji.xml",// 国际新闻
			"http://rss.news.sohu.com/rss/shehui.xml",// 社会新闻
			"http://mil.sohu.com/rss/junshi.xml",
			"http://rss.news.sohu.com/rss/sports.xml",
			"http://rss.news.sohu.com/rss/it.xml",
			"http://digi.it.sohu.com/rss/shuma.xml",
			"http://digi.it.sohu.com/rss/shouji.xml",//手机
			"http://digi.it.sohu.com/rss/bijiben.xml",//电脑
			"http://rss.news.sohu.com/rss/yule.xml",
			"http://rss.news.sohu.com/rss/business.xml",
			"http://travel.sohu.com/rss/lvyouxinwen.xml",
			"http://astro.women.sohu.com/rss/xingzuoxinwen.xml",
			"http://rss.sports.sohu.com/rss/zhongguozuqiu.xml",
			"http://rss.sports.sohu.com/rss/guojizutan.xml",
			"http://rss.sports.sohu.com/rss/nba.xml",
			"http://rss.sports.sohu.com/rss/cba.xml"
	};
	public static String[] columnID = { "1001","1002","1003","1004","1005","1006","1007","1008","1009","1010","1011","1012","1013","1014","1015","1016","1017","1018",};

	
	public static List<String> ulrList() {
		List<String> list = new ArrayList<String>();
		
		list.add("http://news.sohu.com/rss/scroll.xml");
		list.add("http://rss.news.sohu.com/rss/guonei.xml");
		list.add("http://rss.news.sohu.com/rss/guoji.xml");
		list.add("http://rss.news.sohu.com/rss/shehui.xml");
		list.add("http://mil.sohu.com/rss/junshi.xml");
		list.add("http://rss.news.sohu.com/rss/sports.xml");
		list.add("http://rss.news.sohu.com/rss/it.xml");
		list.add("http://digi.it.sohu.com/rss/shuma.xml");
		list.add("http://digi.it.sohu.com/rss/shouji.xml");
		list.add("http://digi.it.sohu.com/rss/bijiben.xml");
		list.add("http://rss.news.sohu.com/rss/yule.xml");
		list.add("http://rss.news.sohu.com/rss/business.xml");
		list.add("http://travel.sohu.com/rss/lvyouxinwen.xml");
		list.add("http://astro.women.sohu.com/rss/xingzuoxinwen.xml");
		list.add("http://rss.sports.sohu.com/rss/zhongguozuqiu.xml");
		list.add("http://rss.sports.sohu.com/rss/guojizutan.xml");
		list.add("http://rss.sports.sohu.com/rss/nba.xml");
		list.add("http://rss.sports.sohu.com/rss/cba.xml");
		
		return list;
		
	}
	/**
	 * 解析RSS源成功
	 */
	public static final int GET_RSS_TIITLE_LIST_SUCCESS = 0x10002;
	
	/**
	 * 从数据库查询文章列表成功
	 */
	public static final int GET_RSS_TIITLE_LIST_FROM_DB_SUCCESS = 0x10003;

	// **************凤凰rss******************************
	// public static final String STARTTAG = "<!--mainContent begin-->";
	// public static final String ENDTTAG = "<!--mainContent end-->";
	// ********************************************
	// // **************新浪rss******************************
	// public static final String SINA_STARTTAG = "<!-- 正文内容 begin -->";
	// public static final String SINA_ENDTTAG = "<!-- publish_helper_end -->";
	// // ********************************************
	// // **************rss******************************
	public static final String STARTTAG = "<!-- 正文 -->";
	public static final String ENDTTAG = "<!-- 分享 -->";
	public static final String STARTTAG01 = "<!-- 正文 st -->";
	public static final String ENDTTAG01 = "<!-- 分享 st -->";
	// // ********************************************
}
